/**
 * 
 */
package cn.ad.server.web.log.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * Adserver业务事件日志抽象类
 * @author Wu Chengjun
 */
public abstract class AdserverEventLog {
	
	/**
	 * 服务器标识
	 */
	private String serverId;
	
	/**
	 * 事件起始时间
	 */
	private long requestTimestamp;

	/**
	 * @return the serverId
	 */
	public String getServerId() {
		return serverId;
	}

	/**
	 * @param serverId the serverId to set
	 */
	public void setServerId(String serverId) {
		this.serverId = serverId;
	}

	/**
	 * @return the requestTimestamp
	 */
	public long getRequestTimestamp() {
		return requestTimestamp;
	}

	/**
	 * @param requestTimestamp the requestTimestamp to set
	 */
	public void setRequestTimestamp(long requestTimestamp) {
		this.requestTimestamp = requestTimestamp;
	}
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
	
}
